package com.ct.mappers;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ct.entity.po.Approval;
import com.ct.entity.po.Reimbursement;
import com.ct.entity.po.Schedule;

/**
 * @Description:
 * @Author: cby
 * @Date: 2024/11/29 17:39
 */
@Mapper
public interface ReportMapper<T, P> extends BaseMapper<T, P> {

    List<Reimbursement> selectSumCountByDate(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

    List<Approval> selectApprovalByDate(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

    List<Schedule> selectScheduleByDate(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

}
